package com.xcl.service;

import com.xcl.pojo.User;
import jakarta.validation.constraints.Pattern;

public interface UserService {

    //注册
    public Integer register(String username,String pwd);

    //检查用户名是否存在
    public User findUserByName(String userName);


    boolean checkPassword(String rawPwd, String encodePwd);
}
